package com.wit.po;

import java.util.HashSet;
import java.util.Set;


/**
 * Insurancetype entity. @author MyEclipse Persistence Tools
 */

public class Insurancetype  implements java.io.Serializable {


    // Fields    

     private String insuranceNumber;
     private Mark mark;
     private String superiorid;
     private String insuranceName;
     private String topType;
     private Set insurancedefs = new HashSet(0);


    // Constructors

    /** default constructor */
    public Insurancetype() {
    }

	/** minimal constructor */
    public Insurancetype(String insuranceNumber) {
        this.insuranceNumber = insuranceNumber;
    }
    
    /** full constructor */
    public Insurancetype(String insuranceNumber, Mark mark, String superiorid, String insuranceName, String topType, Set insurancedefs) {
        this.insuranceNumber = insuranceNumber;
        this.mark = mark;
        this.superiorid = superiorid;
        this.insuranceName = insuranceName;
        this.topType = topType;
        this.insurancedefs = insurancedefs;
    }

   
    // Property accessors

    public String getInsuranceNumber() {
        return this.insuranceNumber;
    }
    
    public void setInsuranceNumber(String insuranceNumber) {
        this.insuranceNumber = insuranceNumber;
    }

    public Mark getMark() {
        return this.mark;
    }
    
    public void setMark(Mark mark) {
        this.mark = mark;
    }

    public String getSuperiorid() {
        return this.superiorid;
    }
    
    public void setSuperiorid(String superiorid) {
        this.superiorid = superiorid;
    }

    public String getInsuranceName() {
        return this.insuranceName;
    }
    
    public void setInsuranceName(String insuranceName) {
        this.insuranceName = insuranceName;
    }

    public String getTopType() {
        return this.topType;
    }
    
    public void setTopType(String topType) {
        this.topType = topType;
    }

    public Set getInsurancedefs() {
        return this.insurancedefs;
    }
    
    public void setInsurancedefs(Set insurancedefs) {
        this.insurancedefs = insurancedefs;
    }
   








}